package com.mocha.bean;

public class Department {

    
    private Integer id;
    
    private String departmentName;

    /**
     * id.
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * id.
     * @param id the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * departmentName.
     * @return the departmentName
     */
    public String getDepartmentName() {
        return departmentName;
    }

    /**
     * departmentName.
     * @param departmentName the departmentName to set
     */
    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    @Override
    public String toString() {
        return "Department [id=" + id + ", departmentName=" + departmentName + "]";
    }

    public Department(Integer id, String departmentName) {
        this.id = id;
        this.departmentName = departmentName;
    }

    public Department() {
    }
    
    
    
}
